package Satellites;

public class Consts {
	
	public final double PI 				= Math.PI;
	public final double TWOPI 			= 2.0 * PI;
	public final double RADS_PER_DEG 	= PI / 180.0;
	
	public final double GEOS_ALT 		= 42241.892; // Altitude geoestacionaria (km)
	public final double EARTH_DIAMETER 	= 12800.0; // Diametro da Terra (km)
	public final double SIDERAL_DAY 	= (23 * 3600) + (56 * 60) + 4.09; // Dia Sideral (seg)
	public final double DAY_24H 		= (24 * 3600); // Dia de 24h (seg)
	
	public final double AE 				= 1.0;
	public final double AU           	= 149597870.0;  // Unidade astronomica (km)
	public final double SR           	= 696000.0;     // Solar radius (km)
	public final double XKMPER_WGS72 	= 6378.135;     // Raio equatorial da Terra (km)
	public final double F            	= 1.0 / 298.26; // Achatamento da Terra
	public final double GM           	= 398600.8;     // Constante gravitacional da Terra * Massa(T)
	public final double J2           	= 1.0826158E-3; // Harmonica J2
	public final double J3           	= -2.53881E-6;  // Harmonica J3 
	public final double J4           	= -1.65597E-6;  // Harmonica J4  
	public final double CK2          	= J2 / 2.0;
	public final double CK4          	= -3.0 * J4 / 8.0;
	public final double XJ3          	= J3;
	public final double QO           	= AE + 120.0 / XKMPER_WGS72;
	public final double S            	= AE + 78.0  / XKMPER_WGS72;
	public final double HR_PER_DAY   	= 24.0;          // Horas por dia   (solar)
	public final double MIN_PER_DAY  	= 1440.0;        // Minutos por dia (solar)
	public final double SEC_PER_DAY  	= 86400.0;       // Segundos por dia (solar)
	public final double OMEGA_E      	= 1.00273790934; // Revolucoes da Terra por dia sideral
	public final double XKE          	= Math.sqrt(3600.0 * GM / (XKMPER_WGS72 * XKMPER_WGS72 * XKMPER_WGS72)); //sqrt(ge) ER^3/min^2
	public final double QOMS2T       	= Math.pow((QO - S), 4);	//(QO - S)^4 ER^4

	
	

}
